﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace Project_2_1
{
    public partial class frmEmployeeAdd : DevExpress.XtraEditors.XtraForm
    {
        public frmEmployeeAdd()
        {
            InitializeComponent();
        }

        private void frmEmployeeAdd_Load(object sender, EventArgs e)
        {
            //this.ControlBox = false;
        }

        private void ckMale_CheckedChanged(object sender, EventArgs e)
        {
            if (chkMale.Checked == true)
                chkFemale.Checked = false;
            else
                chkFemale.Checked = true;
        }

        private void ckFemale_CheckedChanged(object sender, EventArgs e)
        {
            if (chkFemale.Checked == true)
                chkMale.Checked = false;
            else
                chkMale.Checked = true;
        }

        private void butCancel_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}